package com.momo.service;

import com.momo.configuration.WxProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;
import weixin.popular.support.TokenManager;

/**
 * Created by Kagome on 2019/5/24.
 */
@RestController
public class TestService {
    public String access_token(){
        String accessToken= TokenManager.getToken("wxc98a16f59fd4081b");
        return accessToken;
    }
}
